package com.foreknow.springboot_demo.threaddemo;

import com.sun.org.apache.xpath.internal.functions.FuncTrue;

import java.util.concurrent.Callable;

public class MyCallable implements Callable {
    @Override
    public Object call() throws Exception {
        for (int i=0; i<100;i++){
            System.out.println("子线程运行了"+i);
        }
        return null;
    }

    public static void main(String[] args) {

    }
}
